<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\Route;

 Route::get('/','index/Index/index');
 Route::any('mycb','index/Index/qqlogin');

Route::get('login','index/Index/login');	
Route::post('dologin','index/Index/dologin');
Route::get('register','index/Index/register');
Route::post('doregister','index/Index/doregister');
Route::get('email','index/Index/email');
Route::post('sendmail','index/Index/sendmail');
Route::post('doemail','index/Index/doemail');
Route::post('send','index/Index/send');
Route::any('admin','admin/Admin/index');
Route::get('adminLogin','admin/Admin/adminlogin');
Route::get('administrator','admin/Admin/administrator');
Route::any('doAdd','admin/Admin/doadd');
Route::any('doEdit','admin/Admin/doEdit');
Route::post('doDel','admin/Admin/dodel');
Route::post('edit','admin/Admin/edit');
Route::get('wxpay','index/WxPay/index');
Route::get('getWxcode','index/WxPay/getWxcode');
Route::get('jsApiPay','index/WxPay/jsApiPay');
Route::get('orderquery','index/WxPay/orderquery');
Route::get('refund','index/WxPay/refund');
Route::get('micropay','index/WxPay/micropay');
//Route::post('wxpay','index/Wxpay/index');
Route::get('alipay','index/AliPay/index');
Route::post('pay','index/AliPay/pay');
Route::get('query','index/AliPay/query');
Route::post('doquery','index/AliPay/doquery');
Route::get('refund','index/AliPay/refund');
Route::post('dorefund','index/AliPay/dorefund');
Route::get('refundquery','index/AliPay/refundquery');
Route::post('dorefundquery','index/AliPay/dorefundquery');
Route::get('close','index/AliPay/close');
Route::post('doclose','index/AliPay/doclose');
Route::get('position','admin/Position/index');
Route::get('authority','admin/Position/authority');
Route::post('addrole','admin/Position/addrole');
Route::post('delrole','admin/Position/delrole');
Route::post('addPermission','admin/Position/addPermission');
Route::post('delpermission','admin/Position/delpermission');
Route::post('dorole','admin/Admin/dorole');
Route::post('roleall','admin/Admin/roleall');
Route::post('dopermission','admin/Position/dopermission');
Route::post('permissionall','admin/Position/permissionall');
